package com.sun.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "user")
public class User {
	@Id
	@KeySql(useGeneratedKeys=true)
	private Integer id; //编号
	private String name; //性别
	private Integer age;
	private String sex;
	
	private String uAddress;
	

}